package com.csxy.yuekaiyeye.exception;

import io.swagger.v3.oas.annotations.Parameter;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class MyException extends RuntimeException{
    @Parameter(description = "状态码")
    private Integer code;
    private String msg;
}
